package com.ruoyi.supplier.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 仓库对象 tb_storehouse
 * 
 * @author ruoyi
 * @date 2021-02-16
 */
public class TbStorehouse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 仓库表 */
    private Long id;

    /** 位置 */
    @Excel(name = "位置")
    private String location;

    /** 总面积 */
    @Excel(name = "总面积")
    private String totalArea;

    /** 业主 */
    @Excel(name = "业主")
    private String owner;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contactPerson;

    /** 经度 */
    @Excel(name = "经度")
    private String longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private String latitude;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String storeName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }
    public void setTotalArea(String totalArea) 
    {
        this.totalArea = totalArea;
    }

    public String getTotalArea() 
    {
        return totalArea;
    }
    public void setOwner(String owner) 
    {
        this.owner = owner;
    }

    public String getOwner() 
    {
        return owner;
    }
    public void setContactPerson(String contactPerson) 
    {
        this.contactPerson = contactPerson;
    }

    public String getContactPerson() 
    {
        return contactPerson;
    }
    public void setLongitude(String longitude) 
    {
        this.longitude = longitude;
    }

    public String getLongitude() 
    {
        return longitude;
    }
    public void setLatitude(String latitude) 
    {
        this.latitude = latitude;
    }

    public String getLatitude() 
    {
        return latitude;
    }
    public void setStoreName(String storeName) 
    {
        this.storeName = storeName;
    }

    public String getStoreName() 
    {
        return storeName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("location", getLocation())
            .append("totalArea", getTotalArea())
            .append("owner", getOwner())
            .append("contactPerson", getContactPerson())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("storeName", getStoreName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
